﻿IF EXISTS (SELECT * from sys.procedures p left join sys.schemas s on p.schema_id = s.schema_id where p.name='connector_insert' and s.name='Meta')
DROP PROCEDURE [Meta].connector_insert
GO
CREATE PROCEDURE [Meta].connector_insert 
@PK uniqueidentifier, 
@Type nvarchar(50), 
@Login nvarchar(100), 
@Password nvarchar(100), 
@Params nvarchar(500)
AS
BEGIN
INSERT INTO [Meta].[Connectors]
([id_connector], [type], [login], [password], [params])
VALUES (@PK,@Type,@Login,@Password,@Params)
END